body{
  font-size: 14px;
  background: #ffffff;
  font-family: "PingFangSC-Regular", "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  // max-width: 768px;
  // margin: 0 auto;
}
// 各容器下的默认页面高度设置为100%
// page, uni-page-body{
//   height: 100%;
// }
// 兼容性控制各平台下轮播指示点Box位置
// .wx-swiper-dots.wx-swiper-dots-horizontal ,uni-swiper .uni-swiper-dots-horizontal{
//   margin-bottom: 20px;
// }
// 给image一个图片加载中的默认颜色
// image{
//   background-color: $uni-bg-img;
// }

// 淡入动画效果
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
    
// 清除button默认外边框border
.btn{
  display: inline-block;
  height: 50rpx;
  line-height: 50rpx;
  border-radius: 8rpx;
  border: none;
  background: transparent;
  font-size: 21rpx;
  font-family: SourceHanSansCN-Regular, SourceHanSansCN;
  font-weight: 400;
  color: #333333;
  .icon {
    display: inline-block;
    vertical-align: middle;
    width: 30rpx;
    height: 30rpx;
  }
  .text {
    margin-left: 8rpx;
    display: inline-block;
    vertical-align: middle;
  }
}
.btn::after{
  content: none !important;
}
.btn:hover{
  border: none;
  background: transparent;
}

// 单行超出省略
.text_hidden_1{
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}
// 2行超出省略
.text_hidden_2{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}